package com.telit.firecommand.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @author zhouyu
 * @description 待接警页面展示数据
 */
@Data
@ApiModel("待接警页面展示数据")
public class PendingReceiveAlarm {
    @ApiModelProperty("接警时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date reportTime;

    @ApiModelProperty("所属行政区划")
    private String districtName;

    @ApiModelProperty("地址")
    private String address;

    @ApiModelProperty("经度")
    private String longitude;

    @ApiModelProperty(value="纬度")
    private String latitude;

    @ApiModelProperty(value="来源")
    private String resource;

    @ApiModelProperty(value="报警源名称")
    private String finderName;

    @ApiModelProperty(value="内容")
    private String content;

    @ApiModelProperty(value="多媒体路径")
    private List<String> imageUrl;

}
